// 收缩悬浮窗控件配置属性
export default {
    "component": {
        "show": true,
        "title": "收缩悬浮窗",
        "icon": "icon-widget-new-suspension",
        "type": "",
        "helpHref": "https://www.yuque.com/zhonglixunni/wali/prgxw5"
    },
    "config": true,

    "eles": {
        "type": "new-suspension",
        "style": {
            "opacity": 1,
            "color": "#fff",
            "font-size": "12px",
            "bottom": "70px",
            "right": "5px",
            "font-weight": "",
            "font-style": "",
            "text-decoration": ""
        },
        "content": [
            {
                "customFeature": {
                    "action": "",
                    "width": "20px",
                    "height": "20px"
                },
                "pic": "https://www.waliapp.cn/editor/images/new-suspension-customer.png",
                "title": "客服",
                "widgetIdPath": ["", null]
            },
            {
                "customFeature": {
                    "action": "",
                    "width": "20px",
                    "height": "20px"
                },
                "pic": "https://www.waliapp.cn/editor/images/new-suspension-my-order.png",
                "title": "订单",
                "widgetIdPath": ["", null]
            },
            {
                "customFeature": {
                    "action": "",
                    "width": "20px",
                    "height": "20px"
                },
                "pic": "https://www.waliapp.cn/editor/images/new-suspension-shopping-cart.png",
                "title": "购物车",
                "widgetIdPath": ["", null]
            },
            {
                "customFeature": {
                    "action": "top",
                    "width": "20px",
                    "height": "20px"
                },
                "pic": "https://www.waliapp.cn/editor/images/new-suspension-top.png",
                "title": "置顶",
                "widgetIdPath": ["", null]
            }
        ],
        "customFeature": {
            "structure": "1", // 排版 (1上下 2左右)
            "everyLineNum": 1, // 每行个数
            "showSuspensionStatus": 1, // 悬浮窗展开状态(1收起 2展开)
            "backgroundType": false,

            "lineBackgroundColor": "#83858F", // 组件背景色
            "lineBackgroundImage": "", // 组件背景图
            "border-radius": "20px", // 组件圆角

            "navigationRight": "5px", // 展开按钮距右
            "navigationBottom": "70px", // 展开按钮距下
            "navigationWidth": "35px", // 展开按钮宽度
            "navigationHeight": "35px", // 展开按钮高度
            "navigationRadius": "23px", // 展开按钮圆角

            "margin-right": "0px", // 图标左右间距
            "margin-bottom": "1px", // 图标上下间距
            "icon-size": "22px", // 图标大小
            "icon-radius": "0px", // 图标圆角
            "icon-opacity": 1, // 图标透明度

            "receiveFairType": true, // ??

            "spreadIcon": "https://www.waliapp.cn/editor/images/new-suspension-show.png", // 展开按钮图片
            "spreadOpacity": 1, // 展开按钮透明度

            "pickUpIcon": "https://www.waliapp.cn/editor/images/new-suspension-hidden.png", // 收起按钮图片
            "pickUpType": "1", // 收起按钮 (1背景图里面 2背景图外面)
            "pickUpLocation": "left", // 收起按钮 (left靠左 right靠右; pickUpType为2有效)

            "openIcon": true, // 显示图标
            "openText": true // 显示文字
        },
        "animations": [],
        "hidden": false
    }
}